package com.xique.blelock.model;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2018/12/14.
 */

public class LockAllinfo implements Serializable{

//    "lockId": "E04C636D8243",
//            "lockName": "Handle-4382",
//            "lockStatus": 255,
//            "lockPower": 4,
//            "lockKey": "aa5555aa",
//            "hardwareVersion": "2",
//            "softwareVersion": "3",
//            "serialNumber": "1",
//            "vendor": "86",
//            "order": 1
    private String lockId;
    private String lockName;
    private String lockPower;
    private int lockStatus;
    private String lockKey;
    private String hardwareVersion;
    private String softwareVersion;
    private String serialNumber;
    private String vendor;
    private int  order;

    //副管理员
    private int secondorder;

    private boolean isfastopen = false;

    private boolean isusualopen = false;

    //标记当前是否是该用户的管理员角色
    private boolean ismanager = false;

    //存取当前设备赋予给该用户的role.. 需要从userlist遍历回来
    private int role;

    public int getRole() {
        return role;
    }

    public void setRole(int role) {
        this.role = role;
    }

    public int getSecondorder() {
        return secondorder;
    }

    public void setSecondorder(int secondorder) {
        this.secondorder = secondorder;
    }

    private List<Operationinfo> lockRecords;

    private List<UserOfLockinfo>  lockBandUserList;

    private List<FingerInfo> lockFpList;

    public List<Operationinfo> getLockRecords() {
        return lockRecords;
    }

    public void setLockRecords(List<Operationinfo> lockRecords) {
        this.lockRecords = lockRecords;
    }

    public List<UserOfLockinfo> getLockBandUserList() {
        return lockBandUserList;
    }

    public void setLockBandUserList(List<UserOfLockinfo> lockBandUserList) {
        this.lockBandUserList = lockBandUserList;
    }

    public List<FingerInfo> getLockFpList() {
        return lockFpList;
    }

    public void setLockFpList(List<FingerInfo> lockFpList) {
        this.lockFpList = lockFpList;
    }

    public String getLockId() {
        return lockId;
    }

    public void setLockId(String lockId) {
        this.lockId = lockId;
    }

    public String getLockName() {
        return lockName;
    }

    public void setLockName(String lockName) {
        this.lockName = lockName;
    }

    public String getLockPower() {
        return lockPower;
    }

    public void setLockPower(String lockPower) {
        this.lockPower = lockPower;
    }

    public int getLockStatus() {
        return lockStatus;
    }

    public void setLockStatus(int lockStatus) {
        this.lockStatus = lockStatus;
    }

    public String getLockKey() {
        return lockKey;
    }

    public void setLockKey(String lockKey) {
        this.lockKey = lockKey;
    }

    public String getHardwareVersion() {
        return hardwareVersion;
    }

    public void setHardwareVersion(String hardwareVersion) {
        this.hardwareVersion = hardwareVersion;
    }

    public String getSoftwareVersion() {
        return softwareVersion;
    }

    public void setSoftwareVersion(String softwareVersion) {
        this.softwareVersion = softwareVersion;
    }

    public String getSerialNumber() {
        return serialNumber;
    }

    public void setSerialNumber(String serialNumber) {
        this.serialNumber = serialNumber;
    }

    public String getVendor() {
        return vendor;
    }

    public void setVendor(String vendor) {
        this.vendor = vendor;
    }

    public int getOrder() {
        return order;
    }

    public void setOrder(int order) {
        this.order = order;
    }

    public boolean isIsfastopen() {
        return isfastopen;
    }

    public void setIsfastopen(boolean isfastopen) {
        this.isfastopen = isfastopen;
    }

    public boolean isIsusualopen() {
        return isusualopen;
    }

    public void setIsusualopen(boolean isusualopen) {
        this.isusualopen = isusualopen;
    }

    public boolean isIsmanager() {
        return ismanager;
    }

    public void setIsmanager(boolean ismanager) {
        this.ismanager = ismanager;
    }
}
